/**
 * @author CHENTAIWEN
 * @create 2022/8/22 15:59
 */
class demo {
    public static void main(String[] args) {
        /*
        System.getProperty("os.name").toLowerCase().contains("windows");
        System.out.println(System.getProperties());*/
        String s = "   7022 10110/404 ";
        s = s.replaceAll("^[^\\u4e00-\\u9fa5A-Za-z0-9]+", "");
        s = s.replaceAll("[^\\u4e00-\\u9fa5A-Za-z0-9]+$", "");
//        s = s.replaceAll("[^\\u4e00-\\u9fa5A-Za-z0-9]", "");
        System.out.println(s);
    }
}